<template>
  <div>
    欢迎使用精时度OA系统
  </div>
</template>

<script setup>
import { ref, reactive, onMounted } from 'vue'
import { useRouter } from 'vue-router'
import axios from '../api/axios.js'
const router = useRouter()

onMounted(async () => {

})

const submitt = async () => {

  try {
    const res = await axios.get('/project/myProject', {
      params: {
        cid: 1
      }
    })
    console.log('请求成功')
    console.log(res)
  } catch (error) {
    console.log('请求失败')
    console.log(error)
  }
}
</script>

<style></style>